package com.wxsoft.java.demo003.binning;

public class Demo {
	public static void main(String[] args) {
		int m = 50;
		Integer obj = new Integer(m); // 手动装箱
		int n = obj.intValue(); // 手动拆箱
		System.out.println("n = " + n);
		Integer obj1 = new Integer(50);
		System.out.println("obj 等价于 obj1？" + obj.equals(obj1));
	}
}